All Questions
3 questions
0votes
0answers
17views
Custom loss function not behaving as expected in PyTorch but does in TensorFlow
I tried modifying the reconstruction loss such that values that are pushed out of bounds do not contribute to the loss and it works as expected in tensorflow after training an autoencoder. However, ...
1vote
1answer
343views
Multiclassification with large number of labels
I am attempting to build a classifier with a large input space of one hot encoded vectors. The output should be a vector of labels, with 10000 possible labels each. For example, the labels could ...
1vote
2answers
1kviews
Is there a loss function that measures the cross similarity between two 2D tensors?
Given two input tensors x1 and x2 with the shape [batch_size, hidden_size], let ...